using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
using System.Web.UI;

namespace By1eEurope.BKS.Controls
{
    /// <summary>
    /// Interface to make an decision
    /// </summary>
    interface IExpressionAnalyser
    {
        /// <summary>
        /// Makes the decision by evaluating the expression and using information about the request and the context
        /// </summary>
        /// <param name="expression">expression to evaluate</param>
        /// <param name="request">current HTTP request</param>
        /// <param name="context">current HTTP context</param>
        /// <returns></returns>
        bool AnalyseExpression(string expression, HttpRequest request, HttpContext context);
    }
}
